import BaseApi from '../BaseApi';
const controller = "/userFeedback";

export default {


    getUserFeedbackList(condition) {
        return this.requestPost(controller, "/getUserFeedbackList", condition);
    },
    replayUserFeedback(condition) {
        return this.requestPost(controller, "/replayUserFeedback", condition);
    },
    updateIsComplain(condition) {
        return this.requestPost(controller, "/updateIsComplain", condition);
    },




    /*请求封装*/
    requestPost(controller, url, condition) {
        let newUrl = controller + url;
        return BaseApi.requestPost(newUrl, condition);

    },
    requestGet(controller, url, condition) {
        let newUrl = controller + url;
        return BaseApi.requestGet(newUrl, condition);

    },

}
